package com.ktjy.service;

import com.ktjy.dao.PetDao;
import com.ktjy.entity.Pet;

public class PetServiceImpl implements PetService {
    PetDao petDao;

    public void setPetDao(PetDao petDao) {
        this.petDao = petDao;
    }

    @Override
    public int addPet(Pet pet) {
        return petDao.addPet(pet);
    }
}
